#ifndef MYSQLCONNECTION_H
#define MYSQLCONNECTION_H

#include "mysql_connection.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
//#include <cppconn/statement.h>
//#include <cppconn/prepared_statement.h>

class mysqlconnection
{
public:
    mysqlconnection();
    ~mysqlconnection();
    sql::Connection *getConnection();
private:
    sql::Driver *driver;
    sql::Connection *con;

    //sql::PreparedStatement *pstmt;
};

#endif // MYSQLCONNECTION_H
